package com.sanpu.kxe.common.enums;

import com.sanpu.kxe.R;

/**
 * Description：支付方式
 * Created by 薛勇军 on 2018/8/1.
 */

public enum PayType {
    WEICHAT("WEICHAT", "微信支付", "微信", R.drawable.ic_wechat_qrcode_inset),
    QQ("QQ", "QQ支付", "QQ", R.drawable.ic_qq_qrcode_inset),
    ALIPAY("ALIPAY", "支付宝支付", "支付宝", R.drawable.ic_alipay_qrcode_inset),
    QQ_WAP("QQ", "QQWAP支付", "QQ", R.drawable.ic_qq_qrcode_inset),
    ALIPAY_WAP("ALIPAY", "支付宝WAP支付", "支付宝", R.drawable.ic_alipay_qrcode_inset),
    QUICKPAY("QUICKPAY", "快捷支付", "银联快捷", R.drawable.ic_union_qrcode_inset),
    QUICKPAY_H5("QUICKPAY_H5", "快捷支付", "银联快捷", R.drawable.ic_union_qrcode_inset),
    BPQUICKPAY("BPQUICKPAY", "快捷支付", "银联快捷", R.drawable.ic_union_qrcode_inset),
    T1QUICKPAY("T1QUICKPAY", "快捷封顶", "银联快捷", R.drawable.ic_union_qrcode_inset),
    UNIONPAY("UNIONPAY", "银联支付", "银联支付", R.drawable.ic_quick_qrcode_inset),
    UNIONPAY_SCAN("UNIONPAY_SCAN", "银联扫码", "银联扫码", R.drawable.ic_union_qrcode_inset);

    String value;
    String title;
    String target;
    int icon;

    PayType(String value, String title, String target, int icon) {
        this.value = value;
        this.title = title;
        this.target = target;
        this.icon = icon;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getValue() {
        return value;
    }

    public String getTitle() {
        return title;
    }

    public int getIcon() {
        return icon;
    }
}
